Comparative study on the quality control effectiveness of AI-PBRTQC and traditional PBRTQC model in identifying quality risks

Graphical abstract


Introduction
In 1965, Hoffman et al. employed the "average of normals" methodology to facilitate the daily quality monitoring of laboratories, thereby initiating the practice of patient-based real-time quality control (PBRTQC) in laboratory medicine (1).Sub-Supplementary material available online for this article.sequently, the Bull method was widely used for quality control of blood cell analysis (2).Patientbased real-time quality control is an innovative laboratory quality control method whose primary purpose is to assist internal quality control (IQC) in ensuring the accuracy and reliability of patient test results (3).Patient-based real-time quality control offers several notable advantages compared to IQC.These advantages encompass cost reduction, elimination of matrix effects, and continuous monitoring in real-time (4)(5)(6)(7)(8)(9).In recent years, PBRTQC has witnessed a significant rise in its application within clinical laboratory settings.The adoption of this approach has gained significant traction owing to its inherent benefits, such as real-time process monitoring and the potential for cost reduction.The International Federation of Clinical Chemistry (IFCC) has proposed six PBRTQC algorithms as recommended guidelines.These algorithms encompass various statistical techniques such as the moving average (MA), moving median (MM), exponentially weighted moving average (EWMA), moving standard deviation (MovSD), and moving sum of outlier (MovSO) (10,11).
The achievement of a uniform standard to promote this complex PBRTQC is challenging.According to Badrick et al., introducing PBRTQC necessitates a shift in the statistical process from empirical selection to future AI selection (3).These studies contribute to the expansion of potential applications for PBRTQC.Therefore, we need to compare the applicability of traditional PBRTQC and artificial intelligence (AI) PBRTQC in clinical laboratories.
In this study, we focused on: a) evaluating the ability of traditional PBRTQC models to identify quality control risks, b) evaluating the ability of the AI-PBRTQC model to identify quality risks and monitor its performance as a real-time quality control tool; c) comparing the AI-PBRTQC model with the traditional PBRTQC model regarding its ability to identify quality risks in the real world; 4) evaluating the application value of AI-PBRTQC and providing reference and practical experience for the application of AI-PBRTQC.

Data source
From December 2021 to October 2022, the PBRTQC intelligent monitoring platform was in-stalled and used on the local server of the laboratory to automatically collect patient data for total thyroxine (TT4), anti-Müllerian hormone (AMH), alanine aminotransferase (ALT), total cholesterol (TC), urea and albumin (ALB) in Xi'an Regional Medical Laboratory Center.The extracted data strictly complied with relevant laws and regulations and IFCC recommendations for PBRTQC and patient information identification was removed.The data did not involve the clinical privacy of patients and other ethical issues.The analytes selected for this experiment include chemiluminescence, rate, and endpoint methods.A wide range of biological variability was selected for this experiment.Patient specimens included pathological and health examination specimens, and the age of patients ranged from 2 to 98 years.The verified data ranged from a few hundred to tens of thousands.The selection of analytes and data described above ensured the study's reliability, the sample's diversity, and the results' broad applicability.The results of the first six months served as a practice data set for parameter setting and procedure establishment of the PBRTQC model, and the results of the last five months served as a validation and evaluation data set for this study.All IQC results and test times were exported from the laboratory information system.Quality risk cases data for the study period were exported directly from each analyzer.

Patient-based real-time quality control model
The data for the traditional PBRTQC model needed first to be subjected to the Box-Cox method of estimating the truncation range.The Box-Cox transform was used to estimate the truncation range of the data by the standard maximum likelihood method implemented in the optimal normalization of the R package (MASS) (12,13).Since most of the patient data were skewed, they needed to be transformed for Box-Cox data, and truncated ranges selected, but such truncated ranges may result in the loss of valuable data.(14).
In this experiment, different truncation ranges for traditional PBRTQC and AI-PBRTQC were calculated, as shown in Figure 1.Then parametric models with different truncation ranges and weighting coefficients were built on the PBRTQC platform to monitor the patient data for the same period.The AI-PBRTQC and traditional PBRTQC groups identified real-world quality control risky cases and evaluated the optimal PBRTQC scenarios by Ped, FPR, FNR, ANPed, and area under the curve (AUC), FNR, ANPed, and AUC to assess the optimal PBRTQC protocol.

Quality management system
Calibration, IQC, and instrument maintenance were performed by the standardized management requirements of the ISO 15189 quality management system.

Patient-based real-time quality control algorithm
The intelligent monitoring platform AI-PBRTQC received the test results of laboratory patients from the LIS.Patient-based real-time quality control operating program algorithm: EWMA algorithm using AI-PBRTQC intelligent monitoring platform.The calculation model of the EWMA control chart was as follows: represented the actual measurement of point t, λ is the weighted coefficient, 0 < λ < 1).

Calibration events
The timing of calibration events was not based on the results of IQC or PBRTQC but rather determined solely by the laboratorian based on the current status of the analyzers.A positive calibration event is achieved when the IQC warning or loss of control occured or when the trend of the EWMA curve was reversed after calibration events.Otherwise, the calibration was considered a negative event.

Quality risk cases
Quality risks encompassed a range of potential hazards arising from reagent opening times, variations between reagent bottles, discrepancies in batch numbers, expiration of weekly maintenance cleaning solutions, and other alterations.Data collected from the PBRTQC software was analyzed using quality risk cases as a gold standard benchmark.If the EWMA curve exhibited a warning or went out of control during a quality risk incident, then the warning or out of control was classified as a true positive.The time between the occurrence of a quality risk event and its correction was called the quality risk period.If there were no warnings on the PBRTQC platform, this risk event was considered a false negative.Whenever the EWMA curve showed a warning or went out of control despite no quality risk event present, then the warning or out of control was a false positive.Conversely, when there was no warning, it was correctly identified as a true negative.

Corrective measures
When a quality risk arises within a laboratory, it is imperative for the laboratory to promptly identify the underlying cause and implement appropriate measures to rectify the situation.Measures encompassed various actions such as calibration, reagent replacement, equipment troubleshooting, and other related procedures.

The optimal PBRTQC model
The optimal PBRTQC model was selected by Ped, FPR, FNR, ANPed, and AUC for the two sets of data from the intelligent monitoring platform.Ped is defined as the probability that a quality control rule and its combination can effectively detect an analytical error when it occurs in routine analysis, equivalent to the sensitivity of a clinical diagnostic test.The ideal Ped for a quality control method should be 1.00; that is, 100% of the analytical batch can detect errors.In the actual operation of clinical testing quality control, Ped between 90-99% is generally considered acceptable.False positive rate was defined as the proportion of all true negative samples incorrectly judged as positive by the model.False negative rate was defined as the proportion of all true positive samples which were incorrectly determined as negative by the model.The number of patient sample results required before error detection was statistically derived from the software's backend data was defined as ANPed.The lower the ANPed, the more sensitive the PBRTQC model to identify errors.
Optimal PBRTQC models for different analytes based on the PBRTQC real-time intelligent monitoring platform were established.The choice of PBRTQC parameters should meet both the high error detection rate and the low false rejection rate.Generally, the general clinical laboratory requires the error detection rate to be > 90%, while the false rejection rate is < 5%.This study used the ROC curve to evaluate the performance of the artificial intelligence PBRTQC model and traditional PBRTQC model procedures.Graph used FPR as abscissa and true positive rate (TPR) as ordinate.Different models generated different points at different thresholds, which were connected to form ROC curves.The AUC was used as the leading indicator to evaluate the performance of different methods, and the best performance in quality control was judged by determining and comparing the AUC values of different methods.The evaluation criteria were as follows: AUC > 0.9 indicated excellent method performance and significant diagnostic efficiency in identifying quality risks (17)(18)(19)(20).This study combined the AUC and the above indicators to select the optimal model.The AUC can observe the quality control efficiency of the model.

Patient-based real-time quality control parameters
Six routine analytes were evaluated in the present study, encompassing diverse biological variants, distinct methodologies, and varying quantities of data.Supplementary Figure 1 shows the resultant graphs of the EWMA algorithm for the PBRTQC model with different weighting factors.Supplementary Figure 2 shows the ROC curve graphs for identifying quality risks with different weighting factors.The results of the analysis of the two sets of PBRTQC models with different weighting coefficients are shown in Table 1.According to Table 1, the optimal models for PBRTQC are all those that have been identified in bold and are all in the AI-PBRTQC group.The between-subject biological variation (CVg) and within-subject biological variation (CVi) for TT4 and ALB are relatively small, and the weighting coefficients of their optimal PBRTQC models for all other analytes are 0.05.The weighting coefficients for all other analytes are 0.02.
The quality risks are listed in Table 2, resulting in the findings presented in Table 1.This study PBRTQC identified nine quality risks, six of which occur quality risks due to calibration.As depicted in Figure 2, the validation of the TT4 case demonstrates that the positive calibration event significantly impacts the test results.Figure 2 shows the change in PBRTQC for TT4 due to calibration events versus IQC events.As shown in Figure 3, TC suggested a significant bias in IQC on September 22, while an alarm had occurred on the PBRTQC intelligent monitoring platform on September 19.This indicates that PBRTQC is more sensitive than IQC.After field verification, due to the reduced sample volume in the laboratory, this reagent was opened on September 22 and has been used for 23 days.After changing the new reagent, the PBRTQC platform returned to normal on October 31.Figure 3 shows the change in PBRTQC versus IQC due to the calibration event of the TC.
As shown in Figure 4, the laboratory began contingency planning on September 21 to use a substitute brand of reagent because the logistics of the original brand of ALT reagent did not arrive in time.The laboratory continued to use the original brand of reagents after the supply was restored on September 27.On October 9, a departmental discussion led to the decision to use the alternative reagents as a long-term replacement for the original reagents.Figure 4 illustrates the change in PBRTQC from September 21 to October 31 for ALT on the quality risks that may result from changing reagents.

Discussion
In this study, we aimed to compare the efficiency of AI-PBRTQC and conventional PBRTQC for quality control in laboratories and assessed its potential role in daily work.Artificial intelligence PBRTQC can be used as an effective tool for monitoring the quality control of laboratory tests.
According to our results, the optimal models for PBRTQC were all in the AI-PBRTQC group, which proves that the models built by the AI-PBRTQC are more suitable for these analytes.The reason may be that the algorithm of the AI-PBRTQC group can intelligently select the appropriate range of truncation based on the biological variability value of the analyte and the reference range data, which is more suitable for the nature of the patient data.We found that selections with considerable biological variation have a smaller weighting factor and use the weighting factor as a smoothing factor to reduce the effect of variation.However, of course, more cases are still needed to support this.CVg -between-subject biological variation.CVi -within-subject biological variation.λ -weighting coefficient of the exponentially weighted moving average (EWMA) method.Ped -number of alarms detected/number of PBRTQC platform alarms.FPR -false positive ratio (FP) / (FP + true negative (TN)).FNR -false negative ratio (FN) / (true positive (TP) + FN)).The optimal PBRTQC model is presented as bolded.TT4 -total thyroxine.AMH -anti-Müllerian hormone.ALT -alanine aminotransferase.TC -total cholesterol.ALB -albumin.The patient data for the analyte in this study ranged from 734 to 11,343.We proved that AI-PBRTQC is also effective in identifying quality risk in a small number of samples.Small sample size cases are less reported at this time.
The validation of the TT4 case showed that the positive calibration event significantly affected the test results.However, after the calibration on 13 August 2022, we could only observe a relatively small change in the IQC.This insensitive change may be due to the limitations of the IQC, which only measures at the beginning of the analysis batch in the IQC and is related to the adjustment of the target value or SD of the IQC chart.This is why IQC used in the laboratory is not sensitive to calibration events.In contrast, PBRTQC is much less influenced by the laboratory than IQC and is more realistic.Our study is consistent with the findings of Song et al., showing that PBRTQC shows greater sensitivity to bias in test results due to calibration events or analytical trends (29).
According to our results, if a low specimen volume caused the reagent to sit on the instrument for an extended period, the PBRTQC would raise the alarm, but the IQC just to one side.Reagents generally state an open box expiration date and a shelf life.The expiration date of chemical reagents varies significantly with the chemical nature.Generally speaking, the longer the shelf life of a chemically stable substance, the simpler the storage conditions.More factors, such as air, temperature, light, impurities, etc., also affect reagents.Unstable reagents like disproportionation polymerization, decomposition, or precipitation may change after long-term storage.In the validity period of the liquid, if we find the reagents have delamination, turbidity, discoloration, mold, and other abnormalities, it should be a timely replacement of reagents.
We also demonstrated that PBRTQC can actively identify potential quality risks in reagent replacements.This case reminds us that reagent replacement requires performance validation and feedback from the clinical department.
Traditional PBRTQC has some advantages.It does not need a professional analytical platform, and even some laboratories use EXCEL for the construction of traditional PBRTQC model.Furthermore, traditional PBRTQC can achieve the quality of the whole process of monitoring.The disadvantages are the high rate of false positives, small specimen volume of the test items cannot be used, the model is more cumbersome to build.The advantages of AIPBRTQC are that it can realize the quality monitoring of the whole process; low false-positive rate, small specimen volume of test items can be used, items with sizeable biological variability can be used, and the model building is intelligent.The disadvantages are that the AI needs to be allowed to learn more cases to optimize the model in the early stage, and a professional monitoring platform is required.
The limitations of our investigation are as follows.
The data obtained from PBRTQC extraction results is influenced by a multitude of factors to which patient specimens are routinely exposed to (24).These factors encompass a range of variables, such as atypical outcomes, samples obtained from diverse populations, a limited timeframe for data retrieval, varying clinical interventions, seasonal variations, specimen collection, transportation, and pre-processing, among other considerations.For example, the traditional PBRTQC had a truncated upper limit of 10.14.Although it was very high, it had a mean of 2.45, proving that most values were close to 2.45.Artificial intelligence PBRTQC has a much smaller amount of data than traditional PBRTQC, which may have something to do with excluding many results.During the analysis, we found that the data for AMH were heavily skewed to one side, which may be related to the fact that AI-PBRTQC discarded a large portion of the data.
There is currently a lack of consensus regarding the standardization of research on PBRTQC.This field encompasses a range of aspects, including simulation calculation methods, parameter optimization, evaluation indices, and validation methods.Hence, the absence of a comprehensive research framework presents challenges for researchers when it comes to comparing new meth-ods with existing ones and facilitating comparisons among different researchers.When a researcher introduces a novel method, there is a dearth of a comprehensive research framework for conducting a comparative analysis with existing methods.Consequently, the credibility of the performance enhancement achieved by the new method cannot be assessed by other researchers.
The scientific community has yet to achieve a comprehensive understanding of the performance enhancement associated with the new method (25).Difficulties in the application of PBRTQC arise from the complexity of simulating and optimizing parameters.These tasks require researchers with a strong background in computer science to complete them.Furthermore, the extension of PBRTQC to practical applications necessitates the support of inspection experts.Additionally, it should be noted that the optimized parameters of PBRTQC are not fixed and may vary across different laboratories.Furthermore, the introduction of a new testing system may necessitate the determination of new model parameters, thereby further complicating the maintenance of the PBRTQC system (25).
In conclusion, the AI-PBRTQC group was more efficient in identifying quality risks than the conventional PBRTQC.Artificial intelligence PBRTQC can also effectively identify quality risks in a small number of samples.AI-PBRTQC can be used in biochemistry and also in immunology.Quality risks such as reagent calibration, reagent machine time, and reagent brand replacement can be identified.

Potential conflict of interest
None declared.

Figure 1 .
Figure 1.Data processing of the two PBRTQC groups.PBRTQC -patient-based real-time quality control.AI -artificial intelligence.ROC -receiver operating characteristic.

Figure 4 .
Figure 4. PBRTQC EWMA chart for ALT.EWMA graphs in dark gray for no quality risk and in light gray for detected quality risk.PBRTQC -patient-based real-time quality control.EWMA -exponentially weighted moving average.ALT -alanine aminotransferase.

Table 2 .
The patient-based real-time quality control checklist for identifying quality risks Figure 3. September IQC and PBRTQC EWMA chart for TC.EWMA graphs in dark gray for no quality risk and light gray for detected quality risk.IQC graphs in black for low-level IQC and gray lines for high-level IQC.IQC -internal quality control.PBRTQC -patientbased real-time quality control.EWMA -exponentially weighted moving average.TC -total cholesterol.